package net.xiaosaguo.mymall.ware.feign;

import net.xiaosaguo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * description: 远程调用商品服务接口
 *
 * @author xiaosaguo
 * @date 2020/06/17
 */
@FeignClient("mymall-product")
public interface ProductFeignService {

    @RequestMapping("/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);

}
